<?php

class Smarty_Construct extends Smarty 
{
	public $template_dir;
	public $compile_dir;
	public $cache_dir;
	public $config_dir;
	
	private $file;
	
	private $registry;
	

    function Smarty_Construct() {
		$this->Smarty();

		$this->template_dir		= site_path . 'tmpl';
		$this->compile_dir		= site_path . 'smarty'.DIRSEP.'template_c';
		$this->cache_dir		= site_path . 'smarty'.DIRSEP.'cache';
		$this->config_dir		= site_path . 'smarty'.DIRSEP.'config';

		$this->left_delimiter	= "[%";
		$this->right_delimiter	= "%]";

		$this->caching			= false;
		
		$this->assign('BASE_URL', hostname . prefix);

    }
    

    
}

?>
